#pragma once
#include "tankbase.h"

class CLSTank :
	public CTankBase
{
public:
	CLSTank(void);
	~CLSTank(void);
	void ShangLiao();
	void StopShangLiao();
	void XieLiao();
	void XieLiaoMax();
	void StopXieLiao();
	void SetDAChannel(int channel);
	void SetShangLiaoFa(int index);
	void SetXieLiaoFa(int index);
	void GoNextStep();
	bool IsXieLiaoing();
	void TryShangLiao();
	void SetXieLiaoing(bool x);
	CiMotorX *pBeng;
private:
	int _iDAChannel;
	int _Fa_ShangLiao;
	bool _bXieLiaoing;
	int _iXieLiaoPos;
};
